<?php

# http://projects:8081/cdapp-2kt-api/api/cem_area_get.php

include_once '_portal.php';

$sql = "SELECT * FROM `2kt_cem_areas` WHERE `status`=1";

$result = exec_sql($sql);

if ($result) {
  $result = query_parse($result);
}

output(['result' => $result, 'sql' => $sql]);